
package com.tdcoding.chat.entities;

import io.protostuff.Tag;

public class MemberInfo extends BaseInfo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Tag(value=7)
	private long groupId;// 用户名
	@Tag(value=8)
	private long memberId;// 用户id
	@Tag(value=9)
	private String memberHead;// 头像
	@Tag(value=10)
	private String memberName;// 用户名
	@Tag(value=11)
	private String memberHonor; // 成员头衔
	@Tag(value=12)
	private String memberNick; // 群昵称
	@Tag(value=13)
	private String remarkInfo; // 拒绝或者同意备注信息
	@Tag(value=14)
	private int identity; // 成员身份(1群主、2管理员、3普通)
	@Tag(value=15)
	private int isFriend; // 是否好友
	@Tag(value=16)
	private int isMember; // 是否正式成员(0待审核、1同意、-1拒绝)
	@Tag(value=17)
	private int isSilence; // 是否被禁言(1正常、-1被禁言)
	@Tag(value=18)
	private int joinWay;
	@Tag(value=19)
	private long joinDate; // 进群时间

	public long getGroupId() {
		return groupId;
	}

	public void setGroupId(long groupId) {
		this.groupId = groupId;
	}

	public long getMemberId() {
		return memberId;
	}

	public void setMemberId(long memberId) {
		this.memberId = memberId;
	}

	public String getMemberHead() {
		return memberHead;
	}

	public void setMemberHead(String memberHead) {
		this.memberHead = memberHead;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getMemberHonor() {
		return memberHonor;
	}

	public void setMemberHonor(String memberHonor) {
		this.memberHonor = memberHonor;
	}

	public String getMemberNick() {
		return memberNick;
	}

	public void setMemberNick(String memberNick) {
		this.memberNick = memberNick;
	}

	public String getRemarkInfo() {
		return remarkInfo;
	}

	public void setRemarkInfo(String remarkInfo) {
		this.remarkInfo = remarkInfo;
	}

	public int getIdentity() {
		return identity;
	}

	public void setIdentity(int identity) {
		this.identity = identity;
	}

	public int getIsFriend() {
		return isFriend;
	}

	public void setIsFriend(int isFriend) {
		this.isFriend = isFriend;
	}

	public int getIsMember() {
		return isMember;
	}

	public void setIsMember(int isMember) {
		this.isMember = isMember;
	}

	public int getIsSilence() {
		return isSilence;
	}

	public void setIsSilence(int isSilence) {
		this.isSilence = isSilence;
	}

	public long getJoinDate() {
		return joinDate;
	}

	public void setJoinDate(long joinDate) {
		this.joinDate = joinDate;
	}
	
	public int getJoinWay() {
		return joinWay;
	}

	public void setJoinWay(int joinWay) {
		this.joinWay = joinWay;
	}

	@Override
	public String toString() {
		return "MemberInfo [groupId=" + groupId + ", memberId=" + memberId + ", memberHead=" + memberHead
				+ ", memberName=" + memberName + ", memberHonor=" + memberHonor + ", memberNick=" + memberNick
				+ ", remarkInfo=" + remarkInfo + ", identity=" + identity + ", isFriend=" + isFriend + ", isMember="
				+ isMember + ", isSilence=" + isSilence + ", joinWay=" + joinWay + ", joinDate=" + joinDate + "]";
	}

}
